Companion
Properties
Functions
Performs a deep clone of the supplied list of cash flows. All entries in the list will be new / cloned cash flow entries. The returned list will be in the same order as the supplied list of cash flows.
Performs a deep clone of the supplied list of cash flows whilst also converting the currency and value(s). All entries in the list will be new / cloned cash flow entries. The returned list will be in the same order as the supplied list of cash flows.
Estimates an initial 'guess' seed percentage for use with computeIRR, using a centroid-weighted strategy. This method guards against flat or unhelpful seed values by applying minimum magnitude and clamping thresholds, improving convergence of the Secant method.
obtain a list of problem solving strategies (in the correct order) that can approximate xirr() formulas
Validates the list of cash flows to ensure it meets ROI/IRR requirements:
Recomputes the start date for a list of cash flows. The start date affects the result of an IRR computation the most, since every cash flow is computed against the start date. There are times when you should recompute the start date because it has been initially estimated, for example when the user picks 'All Dates' in a report and the start date defaults to 1970. This (for example) would make the IRR computation artificially low.
Validates and sanitizes a pre-calculated IRR value.
Define the start date for a series of cash flows, and thus compute/recompute the number of years to the end. This function calls ROICashFlowEntry.setStartDate on each cash flow entry.